package encheres.presentation.ui;

import java.awt.HeadlessException;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.JButton;

import encheres.exceptions.EncheresUIException;

public class UICreateUser extends JDialog {

	
    private JPanel jContentPane = null;

    public UICreateUser() throws HeadlessException {
        super();
        initialize();
    }

    /**
     * This method initializes this
     * 
     */
    private void initialize() {
        this.setContentPane(getJContentPane());
        setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
        this.setTitle("Enchères - Création d'un compte");
        this.setModal(true);
        this.pack();
		
		this.setSize(530, 400);
		this.setVisible(true);
    }


    /**
     * This method initializes jContentPane
     * 
     * @return javax.swing.JPanel
     */
    private JPanel getJContentPane() {
        if (jContentPane == null) {
        	jContentPane = new JPanelCreationCompte();
        }
        return jContentPane;
    }

} // @jve:decl-index=0:visual-constraint="10,10"